home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 10000 < prev    next >
Encoding:
Text File  |  1996-08-05  |  677 b   |  15 lines

  1. Newsgroups: comp.lang.c++
  2. Path: newsfeeds.ans.net!butch!enterprise!news
  3. From: Bentley_Joe@mm.rdd.lmsc.lockheed.com (Joe Bentley)
  4. Subject: cout << tab(5) ... without OMANIP(int)
  5. Message-ID: <Bentley_Joe-0503961032270001@129.197.157.33>
  6. Sender: news@enterprise.rdd.lmsc.lockheed.com (News Administrator)
  7. Organization: HRD - Technical Training Lockheed
  8. Date: Tue, 5 Mar 96 16:26:27 GMT
  9.  
  10. I would like to write a tab function/manipulator that I can use in an
  11. output stream.  I know how to do this using the OMANIP(int) macro
  12. approach, but would like another solution.  I assumed that I could do it
  13. with a function template, but I'm not sure how to approach the problem. 
  14. Any ideas?
  15.